<?php
/**
 * Created by PhpStorm.
 * User: jocky
 * Date: 2017/6/1
 * Time: 上午11:26
 *
 * @var $this
 * @var $content
 */
$time=time();
$interval=36;//12小时
header('Last-Modified: '.gmdate('r',$time));
header('Expires: '.gmdate('r',($time+$interval)));
header('Cache-Control: max-age='.$interval);
?>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache"><!-- 禁止浏览器从本地计算机的缓存中访问页面内容 -->
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><!-- 用于指定请求和响应遵循的缓存机制 -->
    <META HTTP-EQUIV="expires" CONTENT="0"><!-- 用于设定网页的到期时间，一旦网页过期，必须到服务器上重新传输； -->
    <title>天玺后台管理系统</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

    <!-- Bootstrap -->
    <link href="/plugins/gentelella/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/plugins/gentelella/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="/plugins/gentelella/vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- Animate.css -->
    <link href="/plugins/gentelella/vendors/animate.css/animate.min.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="/plugins/gentelella/build/css/custom.min.css" rel="stylesheet">

    <link href="/plugins/gentelella/vendors/pnotify/dist/pnotify.css" rel="stylesheet">
    <link href="/plugins/gentelella/vendors/pnotify/dist/pnotify.buttons.css" rel="stylesheet">

    <link href="/css/login.css" rel="stylesheet">

</head>

<body class="login">
<?= $content; ?>

<!-- jQuery -->
<script src="/plugins/gentelella/vendors/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="/plugins/gentelella/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- PNotify -->
<script src="/plugins/gentelella/vendors/pnotify/dist/pnotify.js"></script>

<script src="/js/login.js?v=<?= Yii::$app->params['version']; ?>"></script>
<script src="/js/sms.js?v=<?= Yii::$app->params['version']; ?>"></script>
<script src="/js/reg.js?v=<?= Yii::$app->params['version']; ?>"></script>
<script type="text/javascript" src="/js/common-out.js?v=<?= Yii::$app->params['version'] ?>"></script>
</body>
</html>

